home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / et / et3_0-a1.lha / et3 / src / Separator.C < prev    next >
C/C++ Source or Header  |  1992-05-05  |  527b  |  33 lines

  1. #ifdef __GNUG__
  2. #pragma implementation
  3. #endif
  4.  
  5. #include "Separator.h"
  6.  
  7. #include "Class.h"
  8. #include "Look.h"
  9.  
  10. //---- Separator ---------------------------------------------------------------
  11.  
  12. NewMetaImpl0(Separator, VObject);
  13.  
  14. Separator::Separator() : VObject(cIdNone)
  15. {
  16.     ResetFlag(eVObjEnabled);
  17. }
  18.  
  19. void Separator::Enable(bool, bool)
  20. {
  21. }
  22.  
  23. Metric Separator::GetMinSize()
  24. {
  25.     return gLook->MenuLineLayout()->GetMinSize(this);
  26. }
  27.  
  28. void Separator::DrawInner(Rectangle r, bool)
  29. {
  30.     gLook->MenuLineLayout()->Adorn(this, r);
  31. }
  32.  
  33.